                	<li class="item c_f">
                    	<div class="info f_l">
                        	<div class="img f_l" style="height:115px;padding:40px 10px 0px 10px;"><a href="javascript:" title=""><div class="<?php echo $data->zti_pic?>"><span class="value"><?php echo round($data->zti_value)?></span></div></a></div>
                        	<div>
                            <p class="title"><a class="c_06c fw_b mr30" href="javascript:" title=""><?php echo $data->zti_title;?></a><!-- <span>发布商家：<?php //echo Company::createCompanyLink($data->zm_id, array('target'=>'_blank','class'=>'c_06c'));?></span> --></p>
                            <p>使用条件：订单满 <?php echo $data->zti_condition;?> (不包含运费)</p>
                            <p>优惠券有效期：<?php echo date('Y年m月d日 至',$data->zti_start_time).date(' Y年m月d日',$data->zti_end_time);?></p>
                            <p>优惠券剩余数量：<?php echo $data->zti_inventory;?>张 </p>
                            <p>每人限领：<?php echo $data->zti_limitget;?>张 </p>
                            </div>
                        </div>
                        <div class="get f_r">
                        <?php 
							$iflimit=Ticket::model()->checkLimit(Yii::app()->user->userid,$data->zti_id);
							if($iflimit==1){
						?>
                        	<p class="fs_14 fw_b c_666 tip">亲，您已经领取了此优惠券！</p>
                        <?php }elseif($iflimit==2){?>
                        	<p class="fs_14 fw_b c_666 tip">亲，此优惠券已经领完！</p>
                        <?php }else{?>
                        	<form method="post" action="/member/info/getcoupon">
                            	<input class="t_ipt" type="hidden" name="zti_id" value="<?php echo $data->zti_id;?>" maxlength="5" />
                                <p class="num">
                                	<input class="t_ipt" type="text" name="amount" value="1" maxlength="5" />
                                    <span>剩余 <strong class="c_f60">
									<?php echo $data->zti_inventory;?></strong> 张</span>
                               	</p>
                                <p><input class="mem_btn mem_btn11" type="submit" name="" value="立即领取" /></p>
                            </form>
                        <?php }?>
                        </div>
                    </li>